﻿using System;

class BiggestOfThreeValues
{
    static void Main()
    {
        int firstNumber;
        int secondNumber;
        int thirdNumber;

        Console.WriteLine("Type first number:");
        bool isFirstNumberValid = int.TryParse(Console.ReadLine(), out firstNumber);
        Console.WriteLine("Type second number:");
        bool isSecondNumberValid = int.TryParse(Console.ReadLine(), out secondNumber);
        Console.WriteLine("Type third number:");
        bool isThirdNumberValid = int.TryParse(Console.ReadLine(), out thirdNumber);

        if (isFirstNumberValid && isSecondNumberValid && isThirdNumberValid)
        {
            int biggestNumber = firstNumber;
            if (biggestNumber<secondNumber)
            {
                biggestNumber = secondNumber;
            }
            if (biggestNumber < thirdNumber)
            {
                biggestNumber = thirdNumber;
            }

            Console.WriteLine("The biggest number is {0}",biggestNumber);
        }
        else
        {
            Console.WriteLine("Your input isn`t OK!!!");
        }
    }
}